package com.hanwei.uap.common.constant;

public class Common {
    public static final String CMD_TYPE_SINGLE = "1";
    public static final String CMD_TYPE_BATCH = "2";
    public static final String CMD_FLAG_SYN = "1";
    public static final String CMD_FLAG_ASYN = "2";
    public static final int CMD_TIMEOUT = 1200;
    public static final String CMD_CODE_UPLOADCONTROL_READ = "000001";// 上传控制读取
    public static final String CMD_CODE_UPLOADCONTROL_WRITE = "000002";// 上传控制写入
    public static final String CMD_CODE_NETPARA_READ = "000003";// 网络参数读取
    public static final String CMD_CODE_NETPARA_WRITE = "000004";// 网络参数写入
    public static final String CMD_CODE_SENSORCOLLECT_READ = "000005";//设备采集读取
    public static final String CMD_CODE_SENSORCOLLECT_WRITE = "000006";//设备采集写入
    public static final String CMD_CODE_SENSORSET_READ = "000007";//传感器配置读取
    public static final String CMD_CODE_SENSORSET_WRITE = "000008";//传感器配置写入
    public static final String CMD_CODE_SCREENCONTROL_READ = "000009";//屏幕控制读取
    public static final String CMD_CODE_SCREENCONTROL_WRITE = "000010";//屏幕控制写入

    public static final String CMD_CODE_REBOOTNOW = "100000";// 立即重启
    public static final String CMD_CODE_CLEARSTORE = "100001";// 清空存储记录
    public static final String CMD_CODE_DISCONNECTSERVER = "100002";// 断开上位机连接
    public static final String CMD_CODE_UPLOADDATANOW = "100003";// 立即上传采集数据
    public static final String CMD_CODE_COLLECTSENSORNOW = "100004";// 立即采集传感器
    public static final String CMD_CODE_SYNTIME = "100005";// 同步时间
    public static final String CMD_CODE_READSTATUS = "100006";// 读取状态
}
